<?php
require_once(dirname(dirname(dirname(__FILE__))) . '/core.php');

$distribute = new Distribute($_GET['id']);

$setting = $distribute->getStoreSetting();

    if(!Distribute::$config['presonal_store_open']){
        echo "<script>history.back();</script>";
        exit;
    }

?><!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title><?php echo $setting['name'];?></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no" />
    <meta name="full-screen" content="yes"/>
    <meta name="browsermode" content="application"/>
    <!-- QQ强制竖屏 QQ强制全屏 -->
    <meta name="x5-orientation" content="portrait"/>
    <meta name="x5-fullscreen" content="true"/>
    <meta name="x5-page-mode" content="app"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" type="text/css" href="../../css/reset.css">
    <link rel="stylesheet" type="text/css" href="../../css/main.css">
    <link rel="stylesheet" type="text/css" href="../../css/font-awesome.min.css">
    <link rel="stylesheet" type="text/css" href="../../css/member.css">
    <link rel="stylesheet" type="text/css" href="/wap/css/phone.css"/>
    <style>
        #bottom .nav{
            background: #444;
        }
        header, .header, .header-wrap{
            background:#f8f8f8;
        }
    </style>
    <script type="text/javascript" src="../../js/config.js"></script>
    <script type="text/javascript" src="/wap/js/jquery.min.js"></script>

<!--    <script type="text/javascript" src="../../js/zepto.min.js"></script>-->
    <script type="text/javascript" src="../../js/template.js"></script>
    <script src="/wap/js/layer.m/layer.m.js" ></script>
    <script type="text/javascript" src="../../js/common.js"></script>
</head>
<body>
    <header id="header"></header>
    <footer id="footer"></footer>
    <script type="text/javascript" src="../../js/tmpl/common-top.js"></script>
    <!-- <script>alert(2)</script> -->
    <script type="text/javascript" src="../../js/tmpl/footer.js"></script>

    <script type="text/javascript" src="../../js/tmpl/member.js"></script>
    
</body>
</html>